package cc.iotkit.manager.dto.vo.deviceinfo;

import cc.iotkit.common.excel.convert.ExcelTimestampConvert;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@AutoMapper(target = DeviceInfoVo.class, convertGenerate = false)
public class DevicePropertyBaseExcelVo implements Serializable {

    @ApiModelProperty(value = "设备id")
    @ExcelProperty(value = "设备id")
    private String deviceId;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty(value = "创建时间",converter = ExcelTimestampConvert.class)
    private Long createAt;


    @ApiModelProperty(value = "设备SN")
    @ExcelProperty(value = "设备SN")
    private String deviceName;

    @ApiModelProperty(value = "型号名称")
    @ExcelProperty(value = "型号名称")
    private String modelName;

    @ApiModelProperty(value = "产品key")
    @ExcelProperty(value = "产品key")
    private String productKey;

    @ExcelProperty(value = "机器人SN")
    private String robotSn;

    @ApiModelProperty(value = "客户名称")
    @ExcelProperty(value = "客户名称")
    private String tenantName;

}
